home *** CD-ROM | disk | FTP | other *** search
- # For the purposes of the distribution I have modified this file to probably
- # work on a generic TNC2. I had it set up for a KAM and have commented out
- # KAM-specific commands.
- # If this one doesn't work for you, try the tnc.on.tiny2 and tnc.off.tiny2
- #
- # On the KAM, it can handle HF and VHF together
- # so that is why there are commands like TXD 30/70 ... it means set the HF
- # side TXD to 30 and the VHF side to 70 etc.
- #
- # As you can see, any line beginning with # is a comment and is totally
- # ignored by the program.
- #
- # Any line beginning with ! is considered to be a CLI command and is
- # executed as such. There must be no space between the ! and the first
- # character of the CLI command.
- # You will probably find it more efficient to put
- # one 'execute' of a command file in here and then all the CLI commands
- # in the named file. This is because each ! command here requires a new
- # CLI to start up, whereas only one is started for an execute command and
- # all its contained commands.
- #
- # Lines which begin with neither # or ! are assumed to be TNC commands
- # and are sent to the TNC. TNC commands, # and ! can be interspersed
- # as you see fit.
- #
- # The original IBM version of CBBS uses a separate program to initialize the
- # TNC port parameters. You don't need that program here. Everything needed
- # to init the port can be specified in this file EXCEPT that if the baudrate
- # between TNC-computer is not 9600 then you must specify the baudrate as
- # an argument when the program is started. (See the readme file).
- # The commands in this file are always sent to the TNC when the mailbox
- # program is started up.
- # The program forces
- # mon off
- # conok off
- # echo off
- # as it starts up but it is perhaps wise to include them here just in case.
- # The reason for this is that if you also have a modem and have that
- # connected to the serial port when the bbs starts up, the 'mon off' etc.
- # may get lost in the modem and when you switch over to the TNC it won't
- # have seen those commands. The most important one, as far as getting the
- # BBS to start is concerned is 'echo off' because if the TNC has "echo on",
- # it will echo all commands back to the BBS and the poor BBS will get totally
- # confused. The obvious symptom of this is that the BBS goes into a loop
- # sending a 'C' command to the TNC.
- #
- # Autolf off should be here but is not essential as it only
- # affects the spacing of output during monitoring.
- #
- # The following execute command has been commented out of here but the
- # cmds.cli exists. In order to use it, you must edit the config.mb file
- # and find the lines containing the names files/help.mb and files/info.mb
- # Modify those two lines so that they say ram:files/help.mb and
- # ram:files/info.mb. Then remove the comment # from the beginning of the
- # line in this text with the execute command on it. What it does is create
- # a ram: directory to contain the help and info files which speeds up some
- # user operations when they log in by removing the need for disk I/O when
- # they ask for help or info about your system.
- #!execute cmds.cli
- #
- # A more complex example is given by the files cli.on and cli.off. You can
- # use those instead (put "!execute cli.on" in this file and
- # "!execute cli.off" in tnc.off and modify config.mb accordingly).
- # The cli.on file copies more of the BBS
- # files into ram: and reduces disk accesses even further but at the cost
- # of using up more ram:. If you run a large BBS you will probably find that
- # mail.dat will be too large to fit into ram:
- # The "cli.off" file copies some of the files (such as mail.dat) back to
- # disk. It doesn't need to copy help.mb or info.mb because they don't
- # change.
- mon off
- conok off
- echo off
- # The old KAM "bbsmsgs on" command has been replaced by a new one in the
- # V3.01 KAM.
- # NOTE that you need the reset after the command or it won't take effect.
- #intface bbs
- #reset
- #
- #
- # Set the KAM to one HF and one VHF login.
- #user 1/1
- #
- user 1
- canline $18
- xon $0
- xoff $0
- xflow off
- txflow off
- #txd 70/70
- #maxframe 4/4
- #mcon off/off
- #dwait 0/8
- #frack 2/4
- #beacon every 0/every 120
- b every 120
- frack 4
- dwait 2
- mcon off
- txd 70
- maxframe 4
- start 0
- stop 0
- unproto mail
- #gate on
- dayt
- #|adisco
- disco
- autolf off
-